package collections;

import java.util.HashMap;
import java.util.Map;

public class PoiEntity {

//  private int i;
//  private String city;
//  private float lon;
//  private float lan;
//  static int bbb = 222;

//  final static Map static_hello = new HashMap();

  final String hello = "hello word";

  public static void main(String[] args) {
    System.out.println("haha");

    PoiEntity poiEntity = new PoiEntity();

    int x = 0;
    try {
      x = poiEntity.dowork2();
    } catch (Exception e) {
      e.printStackTrace();
    }
    System.out.println(x);

  }

  public int dowork2() {
    int x = 1;
    try {
      int zero = 0;
      System.out.println(2 / zero);
      x = 2;
      return x;
    } catch (NullPointerException e) {
      x = 10;
      return x;
    } finally {
      x = 3;
    }
  }



}
